package com.hdyg.sixg.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hdyg.sixg.R;
import com.hdyg.sixg.entry.CountryBean;
import com.hdyg.sixg.entry.NativeGuideBean;

import java.util.List;

/**
 * @author CZB
 * @describe 区域适配器
 * @time 2019/3/20 14:22
 */
public class AreaAdapter extends BaseQuickAdapter<CountryBean, BaseViewHolder> {
    public AreaAdapter(int layoutResId, @Nullable List<CountryBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CountryBean item) {
        helper.setText(R.id.tv_area,item.getCountry());
    }
}
